package com.tencent.wxcloudrun.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tencent.wxcloudrun.project.entity.Order;
import com.tencent.wxcloudrun.project.entity.muti.MenuMuti;
import com.tencent.wxcloudrun.project.entity.muti.OrderMuti;
import com.tencent.wxcloudrun.project.entity.query.OrderQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface OrderMapper extends BaseMapper<Order> {
    List<OrderMuti> pageList(OrderQuery orderQuery);
    List<MenuMuti> menuList(Long orderID);
    Long insertBack(Order order);
}